<?php
class news_pickUp extends SClass {

    public function process() {
     try {
            ServiceUtils::GetFactory()->getNewsService()->pickUpNews($this->getArgument('id'));
            $this->assign('message', 'ok');
        } catch (ServiceUtils_Exception $exception) {
            $this->assign('message', 'error');
        }
    }

}